package main

func main() {

}

/**
 *	constructRectangle
 *	@Description:
 *	@param area int
 *	@return res []int
 */
func constructRectangle(area int) (res []int) {
	l := area
	w := 1
	low := area - 1

	for i := 2; i < area; i++ {
		tmpL := area/i - i
		if tmpL < 0 {
			break
		}
		if area%i == 0 {
			if tmpL < low {
				low = tmpL
				l = tmpL + i
				w = i
			}
		}
	}
	res = append(res, l)
	res = append(res, w)
	return
}
